<style>
.radius .jy-group {border-radius:0.5rem;margin:0.35rem 0.5rem}
.radius .jy-group .fui-cell-group{border-radius:0.5rem;margin-top:0}
.bgfff .jy-group {background: #fff}
</style>
<div ng-repeat="item in pagedata.list" class="jy-group">
	<div class="fui-cell-group">
		<div class="fui-cell" style="padding:0.65rem 0.5rem">
			  <div class="fui-cell-label bold" style="width:auto">{{item.title||'分类名称'}} </div>
			  <div class="fui-cell-info"></div>
			  <div class="fui-cell-remark noremark" style="color: #888;">{{item.desc||'分类描述'}}</div>
		 </div>
	</div>
	<div ng-if="item.goods.length>0" class="fui-goods-group block">
				<div ng-repeat="g in item.goods" class="fui-goods-item">
					<div ng-click="access_json('jy_mfuwu/goods.detail//id='+g.id)" ng-class="{'image':1, 'echelon':g.active.title}" data-text="{{g.active.title}}" style="position:relative;background-image: url({{tomedia(g.image) ||'../core/resource/images/nopic.jpg'}})">
					</div>
					<div class="detail" class="detail}">
						<div ng-click="access_json('jy_mfuwu/goods.detail//id='+g.id)" class="name">
								{{g.title}}
						</div>
						<div class="price" style="margin-top: 0">
							<span class="text">￥{{g.active.price || g.price}}</span>
							<span href="javascript:" ng-click="pagedata.gotopicker(g);" class="syscolorred"><i class="icon icon-tianmaopeisonganzhuang"></i></span>
						</div>
						<div style="margin-top:-0.35rem">
							<span ng-if="g.active.title" class="fui-tag-pink-big" style="font-weight:400;font-size:0.6rem;margin-right:0.2rem;padding: 0.1rem 0.3rem;">{{g.active.title}}</span>
							<span class="subtitle" style="font-weight:400;font-size:0.6rem">已服务{{g.salenum || 0}}{{g.unit || '次'}}</span>
						</div>
					</div>
				</div>
	</div>
</div>
<script>
scope.tool.get_list('jy_mfuwu/get_data/groupgoods/',true);
scope.pagedata.scroll_bottom=function(){
	scope.tool.get_list('jy_mfuwu/get_data/groupgoods/');
}
</script>
